<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<!--测试内敛表达式 inline-->
  <!--text-->
<span style="color: red">text</span>
  <body th:inline="text">
  [[${inner}]]
  <!--javascript-->
  <span style="color: red">javascript</span>
  <script type="text/javascript" th:inline="javascript">
    function showData() {
      alert([[${inner}]])
    }
  </script>
  <button th:onclick="showData()">点我一下</button>
<!---->

  <div th:each="student:${studentArray}">
<!--    <span style="color: red">index:</span>-->
<!--    <span th:text="${studentStat.index}"></span>-->
<!--    <span style="color: red">count:</span>-->
<!--    <span th:text="${studentStat.count}"></span>-->
<!--    <span style="color: red">.size</span>-->
<!--    <span th:text="${studentStat.size}"></span>-->
<!--    <span style="color: red">.current</span>-->
<!--    <span th:text="${studentStat.current}"></span>-->
    <span style="color: red">对象的属性</span>
    <span th:text="${student.id}"></span>
    <span th:text="${student.address}"></span>
    <span th:text="${student.nick}"></span>
    <span th:text="${student.phone}"></span>
  </div>
  </body>
</html>